import request from '@/utils/request'

// 查询医生看病流程列表
export function listPatientDoctor(query) {
  return request({
    url: '/system/patientDoctor/list',
    method: 'get',
    params: query
  })
}

// 查询医生看病流程详细
export function getPatientDoctor(actionid) {
  return request({
    url: '/system/patientDoctor/' + actionid,
    method: 'get'
  })
}

// 新增医生看病流程
export function addPatientDoctor(data) {
  return request({
    url: '/system/patientDoctor',
    method: 'post',
    data: data
  })
}
// 检查
export function jianchaP(data) {
  return request({
    url: '/system/patientDoctor/jiancha',
    method: 'post',
    data: data
  })
}


// 修改医生看病流程
export function updatePatientDoctor(data) {
  return request({
    url: '/system/patientDoctor',
    method: 'put',
    data: data
  })
}

// 删除医生看病流程
export function delPatientDoctor(actionid) {
  return request({
    url: '/system/patientDoctor/' + actionid,
    method: 'delete'
  })
}

// 导出医生看病流程
export function exportPatientDoctor(query) {
  return request({
    url: '/system/patientDoctor/export',
    method: 'get',
    params: query
  })
}